/**
 * 
 */
package org.cuatrovientos.pool;
import java.util.Random;//This library is the gear box of the random function

/**
 * Program to pool
 * @author Daniel_Ancin
 *
 */
public class FootballPool {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

	//Declare random as a random number

	Random random = new Random();
	//We cannot hold the random number as an integer directly, 
	//so we need to declare another variable to hold the random's output.

	int randomresult = 0;

		for (int i = 0; i < 15; i++){

		randomresult = random.nextInt(3); //This is going to generate another number (Range 3, 1 or 2 or 3)
		
		switch (randomresult) {
		case 0:
			System.out.println(i + 1 + ". - 1");
			break;
		case 1:
			System.out.println(i + 1 + ". - X");
			break;
		case 2:
			System.out.println(i + 1 + ". - 2");
			break;
		  }
		}	  
	  }
	}

//////////////////////////////////////////////////
// if (randomresult == 0) {System.out.println(i + 1 + ". - 1");}
// if (randomresult == 1) {System.out.println(i + 1 + ". - X");}
// if (randomresult == 2) {System.out.println(i + 1 + ". - 2");}

///////////////////////////////////////////////

 //if (randomresult==0){
 //System.out.println("X");
 // }else{
// System.out.println(randomresult);
